Google News
logo
SQL - Interview Questions
Write an SQL query to fetch the first 50% records from a table.
The required query is:
SELECT * FROM WORKER
WHERE WORKER_ID <= (SELECT count(WORKER_ID)/2 from Worker);
Advertisement